/**
 * FileName: SickbedService
 * Author:   P
 * Date:     2021/3/3 15:33
 * Description:
 */
package com.hospital.nurse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.nurse.pojo.Sickbed;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SickbedService extends IService<Sickbed> {


    List<Sickbed> getSickAndPatients();

    Sickbed getScikbedPatient(@Param("sid") int sid);

    //获得空床的床位号
    List<Sickbed> getNullBed();

    //跟换病床
    void editSickebed(int sid , int pid);

    List<Sickbed> getDepNullBed( int did);
    
}
